Web Configuration Overview

The web.config file is an XML document that contains the main settings and configuration information for your KommerceServer website. When the web.config file is changed and saved, the website must be reset. As such, it is important that you schedule a time to reset the website as any users that are currently using the website will be disconnected.

Be sure to create a backup of the web.config file before you make any changes to it. Failure to do so could result in performance issues or in some cases, it could result in your website being rendered inoperable.

Configuration Settings

Section Name

Description

Connection Strings

This section configures the KommerceServer database connection strings.

Application Settings

This section configures the KommerceServer website application settings.

WebAdmin

This section configures the webAdmin application policies.

Developer

This section configures the development environment policies.

WebStore

This section configures the webStore application policies.

ChannelSettings

This section configures the channel policies.

WebServiceCenter

This section configures the webServiceCenter application policies.

ImportService

This section configures the import service policies.

Kourier Rest

This section configures the Kourier REST endpoint.

ShippingProviderSettings

This section configures the default shipping provider.

mailSettings

This section configures the mail sending options.

ks_services/ImportWebService.asmx

This section configures the KommerceServer ks_services/ImportWebService.asmx settings.

TaxCalculationProvider

This section configures the tax calculation provider.

SpecialChargesProvider

This section configures the special charges provider.

ShopCartServicesProvider

This section configures the shop cart services provider.

KommerceServerConfiguration

This section configures pricing/credit card, portal, shipping, store, and system settings.

Connection Strings

Connection String Name

Description

SqlConnectionString

The connection string for the SQL Server connection used by all interactive web users. Although the connection is shared, all users log in as individuals and KommerceServer role-based security is in effect.

ConnectionString

The connection string for the SQL Server connection used by the KommerceServer Import Service. Refer to the KommerceServer Integration topics for more information.

Application Settings

App Settings Key

Description

StoreCd

The store identifier used by the website. Refer to the Store Listing page topic for more information.

AppTitle

The configuration for the text that appears in the browser tab.

ApplicationId

This is the IIS server website identifier. This value is managed by the update process.

DatabaseUid

This is the unique identifier for the database associated with this instance of the KommerceServer website. This value is managed by the update process.

Version

The current version of KommerceServer. This value is managed by the update process.

cybs.merchantID

The application settings key for Cybersource credit card processing. To add this key, find the cybs.merchantID field and change its value to your CyberSource merchant ID.

For example, if your merchant ID is widgetsinc, change the field to <add key="cybs.merchantID" value="widgetsinc"/>. The merchant ID is case sensitive.

KommerceServer Application Settings

App Settings Key

Description

TaxCalculationProvider

Allows you to assign a tax calculation provider for your KommerceServer system.

SpecialChargesProvider

Allows you to assign a special charges provider for your KommerceServer system.

ShopCartServicesProvider

Allows you to assign a shop cart services provider for your KommerceServer system. This is an integration point that is used in conjunction with the standard shop cart logic. KommerceServer will pass the shop cart contents to this provider for additional logic to be applied.

KommerceServerConfiguration

This section configures pricing/credit card, portal, shipping, store, and system settings.